#include <iostream>
#include <cstdio>
using namespace std;

/*
    C++输入语句         cin>>变量名
    cin和cout的>> << 不能交叉使用
*/

struct student
{
    char name[20];
    int age;
    float score;
};

int main()
{
    cout << "请输入两个数字：" << endl;
    int a, b;
    cin >> a >> b;
    cout << "a + b =" << a + b << endl;

    cout << "练习 " << endl;
    struct student s1;
    cout << "请输入姓名、年龄和成绩：" << endl;
    cin >> s1.name >> s1.age >> s1.score;
    cout << "姓名：" << s1.name << endl;
    cout << "年龄：" << s1.age << endl;
    cout << "成绩：" << s1.score << endl;

    return 0;
}